﻿<!DOCTYPE html>
<html>
<head>
  <title>@ViewBag.Title</title>
  <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
  @RenderSection("style", false)
  <script src="http://yandex.st/jquery/1.6.1/jquery.min.js" type="text/javascript"></script>
</head>
<body>
  <div class="page">
    <div id="header">
      <div id="title">
        <a href="@Url.Action("Index", "Home")">
          <img alt="Каравай" src="@Url.Content("~/Content/Images/logo.gif")" /></a>
        <img alt="Хлеб Санкт-Петербурга" src="@Url.Content("~/Content/Images/bread_hdr.gif")" />
      </div>
      <div id="logindisplay">
        @Html.Partial("_LogOnPartial")
      </div>
      <div id="menucontainer">
        <ul id="menu">
          <li>@Html.ActionLink("Главная страница", "Index", "Home")</li>
        </ul>
      </div>
    </div>
    <div id="main">
      @if (TempData.ContainsKey("StatusMessage"))
      {
        <p class="status-message">@TempData["StatusMessage"]</p>
      }
      @Html.ValidationSummary(true)
      @RenderBody()
      <div id="footer">
      </div>
    </div>
  </div>
</body>
</html>
